package com.briup.smartcity_group7.web.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: lenovo
 * @Date: 2023/01/03/22:57
 * 接收注册信息的视图对象
 */
@Data
public class RegisterUserVO {
    private String username;
    private String telephone;
    private String realname;
    private String password;
    private String icon; //头像，直接使用网络url进行表示
    private Integer gender;
    private String email;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dob; //前端发送的字符串，设置为转换的时间格式
}
